package com.lili.collection.core.plugins;

import com.lili.collection.core.config.Config;
import com.lili.collection.core.runner.result.RunnerResult;
import com.lili.collection.core.support.Disposable;
import com.lili.collection.core.support.PreHandleSupport;

/**
 * 插件
 *
 * @author lili
 * @date 2023/3/6 23:29
 * @description InputPlugin
 */
public interface Plugin<T extends Config> extends Disposable, PreHandleSupport {

    void init(T config);

    default void setRunnerResult(RunnerResult result){};
}
